package com.yanu.trace.t2s.mapper;

import com.yanu.trace.t2s.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface EmpMapper {
    List<Emp> findAll();
    Emp findByEmpno(int empno);
    int  addEmp(Emp emp );

    List<Emp> findAllwithDept();

    List<Emp> findAllMany2One();
}
